<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\model\mongo;

class MongoKsAccountSyncLogModel extends MongoSyncModel
{
    /**
     * @var int 类型-账户
     */
    public const TYPE_ACCOUNT = 0;

    /**
     * @var int 类型-客户
     */
    public const TYPE_CLIENT = 1;

    /**
     * @var int 类型-UserId
     */
    public const TYPE_KS_USER = 2;

    /**
     * @var int 类型-视频
     */
    public const TYPE_VIDEO = 3;

    /**
     * @var int 类型-产品
     */
    public const TYPE_PRODUCT = 4;

    /**
     * @var int 类型-月份
     */
    public const TYPE_MONTH = 5;

    /**
     * @var int 类型-客户媒体
     */
    public const TYPE_CLIENT_MEDIA = 6;

    protected $connection = 'mongodb';

    protected $name = 'ks_account_sync_log';

    protected $pk = '_id';

    protected $autoWriteTimestamp = true;
}
